function showhide(id){
	var subcat = document.getElementById("div_subcat_" +id);
	var td = document.getElementById("td_" +id);
	var status = subcat.getAttribute('status');
	td.setAttribute("class",status);
	if(status == 'collapse'){
	   status = 'expand';
	   subcat.style.display="none";
	}else{
	   status = 'collapse';
	   subcat.style.display="";
	}
	subcat.setAttribute("status", status);	
}